package com.yueyang.sojourn.server.controller;

import com.yueyang.sojourn.server.common.LoginNeedless;
import com.yueyang.sojourn.server.model.vo.UploadResult;
import com.yueyang.sojourn.server.service.wx.WxServer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * @author Stephen.Shi
 * @version v1
 * @summary
 * @Copyright (c) 2019, yueyang Group All Rights Reserved.
 * @since 2020/1/20
 */
@RestController
@Api(tags = "调试/测试/ping API")
public class ItController extends BaseController{

    @GetMapping("/it/ping")
    @LoginNeedless
    public String ping() {
        return "ok";
    }

    @GetMapping("/testAuth")
    public String login(){
        return "ok";
    }
}
